package main

import (
	"fmt"
	"time"
)

type S struct {
	Name string
}

func f(s **S) {

	*s = &S{Name: "sad"}

}

func main() {

	var s = new(S)

	go f(&s)

	time.Sleep(time.Second)

	fmt.Println(s)
}
